using System;
using System.Collections.Generic;
using System.Text;
using DTO;
using DAO;

namespace BUS
{
   public  class ChucVuBUS
    {
        public static List<ChucVuDTO > laydanhsachchucvu_bus()
        {
            List<ChucVuDTO > list = new List<ChucVuDTO >();
            ChucVuDAO cv = new ChucVuDAO ();
            list = cv.laydanhsachchucvu_DAO();
            return list;
        }
       public static ChucVuDTO laytentheoma_BUS(int machucvu)
       {
           ChucVuDTO chucvu = new ChucVuDTO();
           ChucVuDAO cv = new ChucVuDAO();
           chucvu =  cv.laytentheoma_DAO(machucvu);
           return chucvu;



       }
       
    }
}
